import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({

  resolve: {
    alias: {
      '@': '/src'
    }
  },
  base: './',
  server: {
    host: '0.0.0.0',

    proxy: {
      "^/webframe": {
        target: 'https://10.46.6.79:9888/',
        secure: false,
      },
      "^/baseMapService": {
        target: 'https://10.46.6.79:9888/',
        secure: false,
      }
    }
  }
})
